package com.jiazhong.mingxing.boot.boot02.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jiazhong.mingxing.boot.boot02.bean.Student;
import com.jiazhong.mingxing.boot.boot02.mapper.StudentMapper;
import com.jiazhong.mingxing.boot.boot02.service.StudentService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class StudentServiceImpl extends ServiceImpl<StudentMapper, Student> implements StudentService {
    @Resource
    private StudentMapper studentMapper;

    @Override
    public List<Student> find1() {
        return studentMapper.find1();
    }
    @Override
    public List<Student> find2() {
        return studentMapper.find2();
    }
}
